package org.javaboy.demo;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Demo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);
        ShowCmd showCmd = ctx.getBean(ShowCmd.class);
        System.out.println("showCmd.show() = " + showCmd.show());
    }
}
